﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Wicresoft.UnifyShow.Portal.Controllers
{
    public class AccountController : Controller
    {
        //
        // GET: /Account/

        public ActionResult LogOn()
        {
            return View(new LogOnRequestModel());
        }

        [HttpPost]
        public ActionResult LogOn(LogOnRequestModel request)
        {
            CustomLoginUtil.Login(request.UserName, true);
            return View();
        }

        
    }
}
